package other.third.service;


import other.third.entity.GetLocationByPhoneResponse;
import other.third.entity.GetTelephoneByIccIdResponse;
import other.third.entity.OrderLocationResponse;
import other.third.entity.base.ThirdResponse;

/**
 * 第三方客户端类
 *
 * @author 王霄
 * @date 2021/4/20
 */
public interface ThirdClient {

    /**
     * 根据iccId获取物联网接入号
     */
    ThirdResponse<GetTelephoneByIccIdResponse> getTelephoneByIccId(String iccId);

    /**
     * 根据物联网接入号对物联网卡进行定位白名单订购操作
     */
    ThirdResponse<OrderLocationResponse> orderLocation(String cardId);

    /**
     * 根据物联网接入号获取详细位置信息
     */
    ThirdResponse<GetLocationByPhoneResponse> getLocationByPhone(String cardId);

}
